package com.party.core.model.logistics;

import java.util.List;

/**
 * 发货输入参数
 * Created by yifeng
 *
 * @date 2018/4/23 0023
 * @time 下午 16:15
 */
public class ShipmentInput {
    // 业务id
    private String targetId;
    // 物品ids
    private String goodsTargetIds;
    // 物品类型
    private Integer type;
    // 快递公司名称
    private String courierName;
    // 快递公司编码
    private String courierCode;
    // 快递单号
    private String courierNumber;
    // 物流id
    private String logisticsId;
    // 包裹信息
    private List<ParcelOutput> parcels;

    public List<ParcelOutput> getParcels() {
        return parcels;
    }

    public void setParcels(List<ParcelOutput> parcels) {
        this.parcels = parcels;
    }

    /**
     * 包裹信息
     */
    public static class ParcelOutput {
        private String courierName;
        private String courierCode;
        private String courierNumber;
        private String logisticsId;
        private String targetId;

        public String getCourierName() {
            return courierName;
        }

        public void setCourierName(String courierName) {
            this.courierName = courierName;
        }

        public String getCourierCode() {
            return courierCode;
        }

        public void setCourierCode(String courierCode) {
            this.courierCode = courierCode;
        }

        public String getCourierNumber() {
            return courierNumber;
        }

        public void setCourierNumber(String courierNumber) {
            this.courierNumber = courierNumber;
        }

        public String getLogisticsId() {
            return logisticsId;
        }

        public void setLogisticsId(String logisticsId) {
            this.logisticsId = logisticsId;
        }

        public String getTargetId() {
            return targetId;
        }

        public void setTargetId(String targetId) {
            this.targetId = targetId;
        }
    }


    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getGoodsTargetIds() {
        return goodsTargetIds;
    }

    public void setGoodsTargetIds(String goodsTargetIds) {
        this.goodsTargetIds = goodsTargetIds;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCourierName() {
        return courierName;
    }

    public void setCourierName(String courierName) {
        this.courierName = courierName;
    }

    public String getCourierCode() {
        return courierCode;
    }

    public void setCourierCode(String courierCode) {
        this.courierCode = courierCode;
    }

    public String getCourierNumber() {
        return courierNumber;
    }

    public void setCourierNumber(String courierNumber) {
        this.courierNumber = courierNumber;
    }

    public String getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(String logisticsId) {
        this.logisticsId = logisticsId;
    }
}
